package cn;

import cn.webrx.config.SpringConfig;
import cn.webrx.pojo.User;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Demo {
    public static void main(String[] args) {
        var ctx = new AnnotationConfigApplicationContext(SpringConfig.class);
        var u = ctx.getBean("ls",User.class);
        System.out.println(u);
    }
}
